package com.fanxuankai.boot.canal.client.autoconfigure;

/**
 * @author fanxuankai
 */
public class Preemptive {
    /**
     * 心跳超时 s
     */
    private Long timeout = 15L;
    /**
     * 心跳频率 s
     */
    private Long keep = 5L;
    /**
     * ping 的频率 s
     */
    private Long ping = 30L;

    public Long getTimeout() {
        return timeout;
    }

    public void setTimeout(Long timeout) {
        this.timeout = timeout;
    }

    public Long getKeep() {
        return keep;
    }

    public void setKeep(Long keep) {
        this.keep = keep;
    }

    public Long getPing() {
        return ping;
    }

    public void setPing(Long ping) {
        this.ping = ping;
    }
}